import React from 'react'
import PropTypes from 'prop-types'

export default function Comp(props) {
  return (
    <div className="Comp">
      {props.children?props.children:<h1>默认值</h1>}
    </div>
  )
}
